*{
    margin: 0;
    padding: 0;
    box-sizing: border-box!important;
}

.indexNav{
    width: 100%;
    height: 2rem;
    background: #FFD200;
    /*position: relative;*/
    font-size: 0.6rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.indexNav .back{
    width: 1rem;
    margin: 0.5rem;
}

.indexNav .title{
    width: 11.5rem;
    height: 1rem;
    line-height: 1rem;
    text-align: center;
    font-size: 0.85rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
}

.indexNav .ltsz{
    float: right;
    height: 1rem;
    line-height: 1rem;
    margin: 0.5rem;
}

.indexChat{
    width: 100%;
    height: 100%;
    position: fixed;
    background: #EDEDED;
    font-size: 0.64rem;
    overflow: hidden;
}

.indexChatWrap{
    width: 100%;
    overflow: hidden;
}

.chatList{
    width: 100%;
    padding: 0 0.6rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.chatList li{
    width: 100%;
    margin: 0.4rem 0;
    overflow: hidden;
}

.chatList .time{
    text-align: center;
    font-size: 0.47rem;
    color: #808080;

}

.chatList .noMeLi .pic{
    width: 1.58rem;
    height: 1.58rem;
    border-radius: 50%;
    float: left;
    margin-top: 0.2rem;
    overflow: hidden;
}

.chatList .noMeLi .pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chatList  .noMeNickName{
    color: #909090;
    font-size: 0.47rem;
    margin-left: 2rem;
    /*margin-top: -0.2rem;*/
    margin-bottom: 0.2rem;
}

.chatList  .meNickName{
    color: #909090;
    font-size: 0.47rem;
    text-align: right;
    margin-right: 2rem;
    /*margin-top: -0.2rem;*/
    margin-bottom: 0.2rem;
}

.chatList .noMeLi .chatContent{
    max-width: 10.5rem;
    margin-left: 0.5rem;
    float: left;
    padding: 0.2rem 0.4rem;
    background: #FFFFFF;
    border-radius: 0.64rem;
    position: relative;
}

.chatList .noMeImgLi .pic{
    width: 1.58rem;
    height: 1.58rem;
    border-radius: 50%;
    float: left;
    margin-top: 0.2rem;
    overflow: hidden;
}

.chatList .noMeImgLi .pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chatList .noMeImgLi .chatContent{
    max-width: 10.5rem;
    margin-left: 0.5rem;
    float: left;
    padding: 0.2rem 0.4rem;
    background: #FFFFFF;
    border-radius: 0.64rem;
    position: relative;
}

.chatList li .chatContent span{
    word-break:break-all;
    word-wrap:break-word;
    line-height: 1rem;
}

.chatList .noMeFileLi .pic{
    width: 1.58rem;
    height: 1.58rem;
    border-radius: 50%;
    float: left;
    margin-top: 0.2rem;
    overflow: hidden;
}

.chatList .noMeFileLi .pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chatList .noMeFileLi .chatContent{
    max-width: 10.5rem;
    margin-left: 0.5rem;
    float: left;
    padding: 0.2rem 0.4rem;
    background: #FFFFFF;
    border-radius: 0.64rem;
    color: #000;
    text-decoration:none;
    position: relative;
}

.chatList .noMeFileLi .chatContent .fileName{
    float: right;
}

.chatList .noMeFileLi .chatContent .size{
    color: #808080;
    font-size: 0.47rem;
    margin-top: 0.2rem;
}

.chatList .meImgLi .pic{
    width: 1.58rem;
    height: 1.58rem;
    border-radius: 50%;
    float: right;
    margin-top: 0.2rem;
    overflow: hidden;
}

.chatList .meImgLi .pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chatList .meImgLi .chatContent{
    max-width: 10.5rem;
    margin-right: 0.5rem;
    /*text-align: right;*/
    float: right;
    padding: 0.2rem 0.4rem;
    background: #FFD300;
    border-radius: 0.64rem;
}

.chatList .meFileLi .pic{
    width: 1.58rem;
    height: 1.58rem;
    border-radius: 50%;
    float: right;
    margin-top: 0.2rem;
    overflow: hidden;
}

.chatList .meFileLi .pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chatList .meFileLi .chatContent{
    max-width: 10.5rem;
    margin-right: 0.5rem;
    /*text-align: right;*/
    float: right;
    padding: 0.2rem 0.4rem;
    background: #FFD300;
    color: #000;
    text-decoration:none;
    border-radius: 0.64rem;

}

.chatList .meFileLi .chatContent .fileName{
    /*float: left;*/
}

.chatList .meFileLi .chatContent .size{
    color: #808080;
    font-size: 0.47rem;
    margin-top: 0.2rem;
}



.chatList .meLi .pic{
    width: 1.58rem;
    height: 1.58rem;
    border-radius: 50%;
    float: right;
    margin-top: 0.2rem;
    overflow: hidden;
}

.chatList .meLi .pic img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.chatList .meLi .chatContent{
    max-width: 10.5rem;
    margin-right: 0.5rem;
    /*text-align: right;*/
    float: right;
    padding: 0.2rem 0.4rem;
    background: #FFD300;
    border-radius: 0.64rem;
}

.chatList .imgContent{
    /*width: 8rem;*/
    height: 6rem;
}

.indexBottom{
    width: 100%;
    padding: 0.38rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #F4F4F4;
    overflow:hidden;
}

.indexChatSendMessage{
    width: 100%;
    position: relative;
    overflow: hidden;
}

.indexChatSendMessage .messageInput{
    width: 80%;
    float: left;
    min-height: 1.6rem;
    max-height: 4rem;
    background: #ffffff;
    border-radius: 0.2rem;
    outline: none;
    padding: 0.4rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.indexChatSendMessage .messageBtn{
    /*width: 2rem;*/
    padding: 0.3rem 0.6rem;
    text-align: center;
    background: #FFD300;
    position: absolute;
    bottom: 0.1rem;
    right: 0;
    vertical-align: bottom;
    border-radius: 0.2rem;
}

.sendPic{
    width: 100%;
    overflow:hidden;
}

.sendPic .sendCommon{
    width: 50%;
    float: left;
    text-align: center;
    padding: 0.6rem 0 0 ;
    overflow: hidden;
}

.sendPic .sendCommon label{
    display: inline-block;
    width: 100%;
    height: 100%;
}

.sendPic .sendCommon img{
    width: 1rem;
}

.sendPic .sendCommon input{
    display: none;
}

.preview{
    width: 100%;
    margin-top: 0.6rem;
    overflow-x: scroll; /*添加横向滚动条*/
    white-space: nowrap;/*不换行*/
    display: none;
}

.previewImg{
    display: inline-block;
    /*width: 30%;*/
    margin-left: 3%;
    position: relative;
}

.preview img{
    /*width: 100%;*/
    height: 4rem;
}

.sendPicBtn{
    display: none;
    float: right;
    margin-top: 0.3rem;
    padding: 0.3rem;
    text-align: center;
    background: #FFD300;
    vertical-align: bottom;
    border-radius: 0.2rem;
}

